// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import FastClick from 'fastclick'
import App from './App'
import router from './router/index'
import './styles/common.css'

import http from './config/http'
import base from './config/base'
import utils from './config/utils'

//全局绑定的公共方法
Vue.prototype.$http = http
Vue.prototype.$base = base
Vue.prototype.$utils = utils

FastClick.attach(document.body)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  router,
  render: h => h(App)
}).$mount('#app-box')
